package map;

import java.awt.*;
import java.awt.event.*;
import java.awt.Canvas;
import java.awt.Graphics;

public class Window implements WindowListener{
    public void windowClosing(WindowEvent e){
        ((Frame)e.getComponent()).dispose();
        System.exit(0);
    }
    public void windowActivated(WindowEvent e){}
    public void windowClosed(WindowEvent e){}
    public void windowDeactivated(WindowEvent e){}
    public void windowDeiconified(WindowEvent e){}
    public void windowIconified(WindowEvent e){}
    public void windowOpened(WindowEvent e){}
}
